﻿using Caliburn.Micro;
using Microsoft.Phone.Tasks;

namespace OsmerFvg.ViewModels
{
    public class AboutPageViewModel: Screen
    {

        public void AppReviewCommand()
        {
            var marketplaceReviewTask = new MarketplaceReviewTask();
            marketplaceReviewTask.Show();
        }

        public void SendMailCommand()
        {
            var emailComposeTask = new EmailComposeTask
                {
                    Subject = "Meteo FVG",
                    To = "support@nazzaway.net"
                };

            emailComposeTask.Show();
        }

    }
}
